package com.draven.mall.common;

/**
 * 结果状态码
 */
public class ResultCode {
    /**
     * 成功
     */
    public static final int SUCCESS = 200;

    /**
     * 失败
     */
    public static final int ERROR = 500;

    /**
     * 未认证
     */
    public static final int UNAUTHORIZED = 401;

    /**
     * 未授权
     */
    public static final int FORBIDDEN = 403;

    /**
     * 参数错误
     */
    public static final int PARAM_ERROR = 400;

    /**
     * 不允许访问
     */
    public static final int NOT_ALLOWED = 405;
}
